﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Welcome.aspx.cs" Inherits="WebApp.Space.AccountInfo.Welcome" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../css/css2.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="hy_right1">
            <p class="hy_p1">
                尊敬的<asp:Literal ID="ltlUserName" runat="server"></asp:Literal>用户，欢迎来到日花商城</p>
            <p>
                您的积分<span class="hy_s1"><asp:Literal ID="ltlIntegral" runat="server"></asp:Literal></span></p>
            <div class="hy_right2">
                <div class="hy_r2p">
                    <div class="r2_p1">
                        近期订单
                    </div>
                    <div class="r2_p2">
                        <a href="OrderRecords.aspx">查看所有订单</a>
                    </div>
                </div>
                <div class="hy_r2p1">
                    <div class="hy_bt">
                        <ul>
                            <li>订单编号</li>
                            <li>下单日期</li>
                            <li>收货人</li>
                            <li>付款方式</li>
                            <li>总金额</li>
                            <li>使用积分</li>
                            <li>状态</li>
                            <li>操作</li>
                        </ul>
                    </div>
                    <div class="hy_list">
                        <ul>
                            <asp:Repeater ID="rptOrderList" runat="server">
                                <ItemTemplate>
                                    <li>
                                        <div class="hy_item1">
                                            <%#Eval("OrderNum")%></div>
                                        <div class="hy_item2">
                                            <%#Convert.ToDateTime(Eval("CreateTime")).ToString("yyyy-MM-dd")%></div>
                                        <div class="hy_item3">
                                           <%#GetUserNameById(Eval("UserId").ToString())%></div>
                                        <div class="hy_item4">
                                            <%#Eval("PayType")%></div>
                                        <div class="hy_item5">
                                            <%#Convert.ToDecimal(Eval("Price"))%></div>
                                        <div>
                                            <%#Convert.ToDecimal(Eval("UseIntegral"))%>
                                         </div>
                                        <div class="hy_item6">
                                            <%#Eval("State")%></div>
                                        <div class="hy_item7">
                                            <a href='<%# "ShowOrderList.aspx?oNum=" + Eval("OrderNum") %>' target="_blank">
                                                <img src="../../imagesWeb/newbtn_detail.gif" width="70" height="18" />
                                            </a>
                                        </div>
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                            <%--<li>
                                <div class="hy_item1">
                                    <a href="">1012448</a></div>
                                <div class="hy_item2">
                                    2011-11-11</div>
                                <div class="hy_item3">
                                    张三</div>
                                <div class="hy_item4">
                                    银行付款</div>
                                <div class="hy_item5">
                                    3958555.00</div>
                                <div class="hy_item6">
                                    已付</div>
                                <div class="hy_item7">
                                    <a href="">订单详情</a></div>
                            </li>
                            <li>
                                <div class="hy_item1">
                                    <a href="">1012448</a></div>
                                <div class="hy_item2">
                                    2011-11-11</div>
                                <div class="hy_item3">
                                    张三</div>
                                <div class="hy_item4">
                                    银行付款</div>
                                <div class="hy_item5">
                                    3958555.00</div>
                                <div class="hy_item6">
                                    未付</div>
                                <div class="hy_item7">
                                    <a href="">订单详情</a></div>
                            </li>
                            <li>
                                <div class="hy_item1">
                                    <a href="">1062448</a></div>
                                <div class="hy_item2">
                                    2011-11-11</div>
                                <div class="hy_item3">
                                    李四</div>
                                <div class="hy_item4">
                                    支付宝</div>
                                <div class="hy_item5">
                                    3958555.00</div>
                                <div class="hy_item6">
                                    已付</div>
                                <div class="hy_item7">
                                    <a href="">订单详情</a></div>
                            </li>
                            <li>
                                <div class="hy_item1">
                                    <a href="">1012448</a></div>
                                <div class="hy_item2">
                                    2011-11-11</div>
                                <div class="hy_item3">
                                    张三</div>
                                <div class="hy_item4">
                                    银行付款</div>
                                <div class="hy_item5">
                                    3958555.00</div>
                                <div class="hy_item6">
                                    已付</div>
                                <div class="hy_item7">
                                    <a href="">订单详情</a></div>
                            </li>--%>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
